﻿using JinfuyuanProject.Entity;
using JinfuyuanProject.Entity.Filter;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace JinfuyuanProject.Service.Interface
{
    public interface IPackageServicesService
    {
        IQueryable<PackageServices> GetList();

        PackageServices GetModel(int Id);

        bool Delete(PackageServices packageServices);

        int Insert(PackageServices packageServices);
       

        bool Update(PackageServices packageServices);
        #region //业务方法
        int InsertBatch(List<PackageServices> packageservicesList);
        bool DeleteBatch(List<PackageServices> packageServicesList);
        IEnumerable<T> QueryBySql<T>(string sql);
        Hashtable QueryInBound(PackageSpendFilter filter);
        Hashtable QueryOutBound(PackageSpendFilter filter);
        Hashtable QueryList(PackageSpendFilter filter);
        Hashtable GenerateExcel(PackageSpendFilter filter);
        Hashtable CheckOut(int contractId);
        #endregion

    }
}
